﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Grain.Crm.ExcelExtractor.InputDescription;

namespace Grain.Crm.ExcelExtractor.InputDescription
{
    [Serializable]
    public class ValueDescription
    {
        /// <summary>
        /// The field name how it looks in excel sheet.
        /// </summary>
        public string XlsDescription { get; set; }

        /// <summary>
        /// Crm display name for this attribute.
        /// </summary>
        public string CrmDisplayName { get; set; }

        /// <summary>
        /// Row (1-index based) in sheet for this attribute.
        /// </summary>
        public int Row { get; set; }

        /// <summary>
        /// Column (1-index based) in sheet for this attribute.
        /// </summary>
        public int Column { get; set; }

        /// <summary>
        /// Specifies wheter this attribute is a lookup (reference).
        /// </summary>
        public bool IsLookup { get; set; }

        /// <summary>
        /// Specifies that this attribute should be handled by custom login upon importing.
        /// </summary>
        public bool IsSpecial { get; set; }

        public bool IsPicklist { get; set; }

        public bool IsNumber { get; set; }

        public string CrmEntity { get; set; }

        public static string SheetCulture { get; set; }
    }
}
